
<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<html:html> 
	<head>		
		<title>CG</title>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<LINK href="./styles/dev.css" type=text/css rel=stylesheet>
		<style type="text/css"></style>
		<html:base/>
</head>
<div id="container" >
<script language='javascript'>
	var l = new Array();
function showsub(active,arr,flag) {
	if(flag==0) l=arr.split("&amp;");
	else if(flag==1) l=arr.split("&");
	var index = -1;
	for (var i=0; i<l.length; i++) {
		if (l[i] == active) index=i;
				//alert(l[i]);
		document.getElementById(l[i]).style.display = 'none';
		document.getElementById(l[i] + 'nav').style.backgroundColor = '#EEEEEE';
		document.getElementById(l[i] + 'nav').style.color = '#990000';
	}
	if (index < 0) return;

	var obj = document.getElementById(active);
	obj.style.display = 'block';
	var color = '#219DCD';//改颜色在此
	obj.parentNode.style.backgroundColor = color;
	document.getElementById(active + 'nav').style.backgroundColor = color;
	document.getElementById(active + 'nav').style.color = '#FFFFFF';
}
</script>

<div id="navAndSearch">
	<ul id="nav">
	<logic:iterate name="ClassNames" id="element">
		<li><a  style="cursor:HAND" target="main_panel"  id='<bean:write name="element" property="sortName"/>nav' onMouseover="showsub('<bean:write name="element" property="sortName"/>','<bean:write name="SortsNames"/>',1)"><bean:write name="element" property="sortName"/></a></li>
		
	</logic:iterate>
	</ul>
	<ul>
	<table id='headerlinktext' cellpadding=0>
		<tr>
			<td valign='bottom'><html:link page="/backup.do"><b>[<bean:message key="uplevel"/>]</b></html:link></td>
		</tr>
	</table>
	</ul>
</div>
<div class="subcat">
		<ul id='Sector' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="1">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>
		<ul id='Employee' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="2">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>

		<ul id='Role' style="display:none  ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="3">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>
		<ul id='RegUser' style="display:none  ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="4">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>
		<ul id='ProjectList' style="display:none">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="5">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>
		<ul id='ProjectPlan' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="6">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>
		<ul id='ProjectOperation' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="7">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>
		<ul id='ProjectConfirm' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="8">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>

		<ul id='ProjectSet' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="9">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>

		<ul id='Work' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="10">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>

		</ul>
		<ul id='MaterialList' style="display:none ">
			<logic:iterate name="AuthorityNames" id="element">
				<logic:equal name="element" property="sort.sortId" value="11">
					<li><html:link target="main_panel" page="/toModules.do" paramId="AuthorityID" paramName="element" paramProperty="authorityId"><bean:write name="element" property="authorityName"/></html:link></li>
				</logic:equal>
			</logic:iterate>
		</ul>


	</div>
</div>
<script language="javascript">
showsub('<bean:write name="Default"/>','<bean:write name="SortsNames"/>',0);
</script>

<!--<div class='error'>Apress.com is recovering from system error, as a result, some of its content may be temporarily slightly out of date. We thank you for your patience.</div>-->
<body topmargin="1" leftmargin="1" rightmargin="1" bottommargin="1" marginwidth="1" marginheight="1">&nbsp;&nbsp;
<table border="1" width="100%" id="table2" cellpadding="0" style="border-collapse: collapse" bordercolor="#C0C0C0" height="815">
<tr><td>
<iframe name="main_panel" marginwidth="1" marginheight="1" width="100%" border="0" frameborder="0" height="812">
			</iframe>
</td></tr>
</table>
	</body>
</html:html>